home *** CD-ROM | disk | FTP | other *** search
Wrap
;***************************************************** ; Script to install DMS Intuition Interface ; Made in 1993 by Newtec ;***************************************************** (set DMSIIflag 1) (set DMSMDocflag 2) (set DMSNDocflag 4) (set DMS11flag 8) (set FDCHKFlag 16) (set RTFlag 32) ;***************************************************** ;* Check kickstart version ;***************************************************** (set version (/ (getversion) 65536)) (if (< version 37) (Exit "You don't even have kickstart 2.0!!\nIt's impossible to live without it. Buy it.\nHowever, if you REALLY want an 1.3 version,\nyou better beg me to make it, coz else I won't..\n") ) (if (< version 39) (Exit "Gulp.. The current version of DMS Intuition interface\ncontains a small bug which makes it unable to run unless\nyou have kickstart 3.0 or higher... Sorry... I'm trying\nto fix it... In the meantime, you'd better run softkick 3.0!\n") ) ;***************************************************** ;* Set Default installing directory if it exists ;***************************************************** (if (exists ("dh0:Util/Packers")) (set @default-dest "dh0:Util/Packers") ) ;***************************************************** ;* Ask where to install the main program ;***************************************************** ( (set Destination (askdir (prompt "Select the drawer where you would like\n " "DMS Intuition Interface to be installed.\n") (help "Just specify where you want DMSII to be\n" "installed! Is it that hard ?") (default @default-dest) ) ) (set Destination (tackon Destination "")) ) (if (<> (exists Destination) 2) (makedir Destination (infos))) (set @default-dest Destination) ;***************************************************** ;* Ask what to install ;***************************************************** (set install_opts (askoptions (prompt "DMS Intuition Interface Harddisk Installation\n\n" "Please select which programs and/or data you wish to install " "now to your hard drive.") (choices "DMS Intuition Interface" "The Multiview documentation" "The ASCII documentation" "DMS V1.11" "FDCHK V2.4 Custom DMS Tester" "Reqtools.library") (default -1) (help "No help available. C'mon! Just install everything!\n" ) ) ) ;***************************************************** ;* Begin the installation... ;***************************************************** (working "\n\nInstalling\n\nto\n\n" Destination) (if (AND install_opts DMSIIFlag) (copyfiles (source ":DMSII/DMSII") (dest Destination))) (if (AND install_opts DMSIIFlag) (copyfiles (source ":DMSII/DMSII.info") (dest Destination))) (if (AND install_opts DMSMDocFlag) (copyfiles (source ":DMSII/DMSII.Guide") (dest Destination))) (if (AND install_opts DMSMDocFlag) (copyfiles (source ":DMSII/DMSII.Guide.info") (dest Destination))) (if (AND install_opts DMSNDocFlag) (copyfiles (source ":DMSII/DMSII.Doc") (dest Destination))) (if (AND install_opts DMSNDocFlag) (copyfiles (source ":DMSII/DMSII.Doc.info") (dest Destination))) (if (AND install_opts DMS11Flag) (copyfiles (source ":DMSII/c/DMS") (dest "c:"))) (if (AND install_opts FDCHKflag) (copyfiles (source ":DMSII/c/FdChk") (dest "c:"))) (if (AND install_opts RTFlag) (copyfiles (source ":DMSII/libs/reqtools.library") (dest "libs:")))